package easy.trace;

import java.io.Serializable;

public class BinaryAnnotation implements Serializable {
    private String key;
    private String value;
    private String type;
    private Integer duration;
    private Endpoint host;

    public BinaryAnnotation() {
    }

    public Endpoint getHost() {
        return this.host;
    }

    public void setHost(Endpoint endpoint) {
        this.host = endpoint;
    }

    public String toString() {
        return "BinaryAnnotation{key='" + this.key + '\'' + ", value=" + this.value + ", type='" + this.type + '\'' + ", duration=" + this.duration + ", endpoint=" + this.host + '}';
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getDuration() {
        return this.duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }
}

